# $NetBSD$

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
XFCE4_SETTINGS_BUILDLINK3_MK:=	${XFCE4_SETTINGS_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	xfce4-settings
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nxfce4-settings}
BUILDLINK_PACKAGES+=	xfce4-settings
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-settings

.if ${XFCE4_SETTINGS_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.xfce4-settings+=	xfce4-settings>=4.6.0
BUILDLINK_PKGSRCDIR.xfce4-settings?=	../../x11/xfce4-settings
.endif	# XFCE4_SETTINGS_BUILDLINK3_MK

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH:S/+$//}
